Learn R Programming

mvcor (version 1.1)

Dissimilarity between two data matrices based on the RV coefficient: Dissimilarity between two data matrices based on the RV coefficient

Description

Dissimilarity between two data matrices based on the RV coefficient.

Usage

drv(y, x)

Value

The value of the dissimilarity.

Arguments

y

A numerical matrix.

x

A numerical matrix.

Author

Michail Tsagris

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.

Details

The dissimilarity between the two data matrices is computed as \(\sqrt{2}\sqrt{1-RV(y, x)}\), where \(RV(y,x)\)is the RV coefficient.

References

Josse J., Pages J. and Husson F. (2008). Testing the significance of the RV coefficient. Computational Statistics & Data Analysis, 53(1): 82--91.

See Also

rv, sq.correl, dcor

Examples

Run this code
drv( as.matrix(iris[, 1:2]), as.matrix(iris[, 3:4]) )

Run the code above in your browser using DataLab